home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000713_fine@cis.ohio-state.edu _Mon Mar 1 21:04:17 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  2KB

  1. Return-Path: <fine@cis.ohio-state.edu>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA05724; Mon, 1 Mar 93 21:04:17 MET
  4. Received: from soccer.cis.ohio-state.edu by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  5.     id AA13521; Mon, 1 Mar 1993 21:21:38 +0100
  6. Received: by soccer.cis.ohio-state.edu (5.61-kk/5.911008)
  7.     id AA13987; Mon, 1 Mar 93 15:21:36 -0500
  8. Date: Mon, 1 Mar 93 15:21:36 -0500
  9. From: Thomas A. Fine <fine@cis.ohio-state.edu>
  10. Message-Id: <9303012021.AA13987@soccer.cis.ohio-state.edu>
  11. To: www-talk@nxoc01.cern.ch
  12. Subject: Re: proposed new tag: IMG
  13. X-Mailer: Perl Mail System v1.2
  14.  
  15.  
  16. Here's my opinion.
  17.  
  18. The best way to do images in WWW is by using MIME.  I'm sure postscript
  19. is already a supported subtype in MIME, and it deals very nicely with
  20. mixing text and graphics.
  21.  
  22. But it isn't clickable, you say?  Yes your right.  I suspect there is
  23. already an answer to this in display postscript.  Even if there isn't
  24. the addition to standard postscript is trivial.  Define an anchor
  25. command which specifies the URL and uses the current path as a closed
  26. region for the button.  Since postscript deals so well with paths, this
  27. makes arbitrary button shapes trivial.
  28.  
  29. Let's call this specially modified postscript HTPS.  Until HTPS becomes
  30. some sort of standard, every copy of HTPS should include a piece of code
  31. that asks the interpreter if it knows about the anchor command, and if
  32. it doesn't it will substitute in a null command.
  33.  
  34. As far as implementation, this is easy, though not necessarily trivial.
  35. Ghostscript already provides the ability to bind arbitrary functions to
  36. mouse events.  It shouldn't be too horrible to set up anchor to keep
  37. a table of button paths, and have mouse clicks call a function that looks
  38. up what button they are in.
  39.  
  40. Let me point out that it wouldn't be hard to make such a system deal
  41. with html too.  Many people already have code that converts html to
  42. postscript.
  43.  
  44.       tom